package com.cr.sync.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 远程数据-监管人员对象 tb_sync_supervise_person
 * 
 * @author tang
 * @date 2025-08-29
 */
public class TbSyncSupervisePerson implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 姓名 */
    private String name;

    /** 是否为巡查人员(1是 0否) */
    private String inspectionRole;

    /** 协管员（0否1是） */
    private String assist;

    /** 信息员（0否1是） */
    private String information;

    /** 手机 */
    private String phone;

    /** 所属监管机构名称 */
    private String regulatoryAuthorityName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setInspectionRole(String inspectionRole) 
    {
        this.inspectionRole = inspectionRole;
    }

    public String getInspectionRole() 
    {
        return inspectionRole;
    }

    public void setAssist(String assist) 
    {
        this.assist = assist;
    }

    public String getAssist() 
    {
        return assist;
    }

    public void setInformation(String information) 
    {
        this.information = information;
    }

    public String getInformation() 
    {
        return information;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public String getRegulatoryAuthorityName() {
        return regulatoryAuthorityName;
    }

    public void setRegulatoryAuthorityName(String regulatoryAuthorityName) {
        this.regulatoryAuthorityName = regulatoryAuthorityName;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("inspectionRole", getInspectionRole())
            .append("assist", getAssist())
            .append("information", getInformation())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .append("regulatoryauthorityName", getRegulatoryAuthorityName())
            .toString();
    }
}
